<%@ page contentType="text/html; charset=utf-8" %>
<%@ taglib prefix="tiles" uri="http://struts.apache.org/tags-tiles"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="c_rt" uri="http://java.sun.com/jstl/core_rt"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%@ taglib prefix="fmt_rt" uri="http://java.sun.com/jstl/fmt_rt"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<%@ taglib prefix="sql" uri="http://java.sun.com/jsp/jstl/sql"%>
<%@ taglib prefix="x" uri="http://java.sun.com/jsp/jstl/xml"%>
<%@ taglib prefix="x_rt" uri="http://java.sun.com/jstl/xml_rt"%>
<%@ taglib prefix="wr_fn" uri="http://njo.org/taglib/functions"%>
<div class="menuheader">
  <a title="正处于开发阶段的程序" href="javascript:menu_click('menu1');">Dev Projects</a>
</div>
<menu id="menu1" compact>
  <li><a title="Apache Httpd服务器上基于MySQL的认证程序" href="${pageContext.request.contextPath}/repository/Development/mod_auth_mysql/">mod_auth_mysql</a></li>
  <li><a title="Apache Tomcat服务器上基于JDBC的认证程序" href="${pageContext.request.contextPath}/repository/Development/tomcat_auth_jdbc/">tomcat_auth_jdbc</a></li>
</menu>
<div class="menuheader">
  <a title="已经发布的程序" href="javascript:menu_click('menu2');">Release Projects</a>
</div>
<menu id="menu2" compact>
  <li><a title="建设中" href="${pageContext.request.contextPath}/repository/Development/mod_auth_mysql/">xxxx</a></li>
  <li><a title="建设中" href="${pageContext.request.contextPath}/repository/Development/tomcat_auth_jdbc/">xxxx</a></li>
</menu>
<div class="menuheader">
  <a title="版本控制库" href="${pageContext.request.contextPath}/svn.tiles">Repository</a>
</div>
<menu compact>
</menu>
<div class="menuheader">
  <a title="下载" href="${pageContext.request.contextPath}/download.tiles">DownLoad</a>
</div>
<menu compact>
  <li><a title="软件" href="${pageContext.request.contextPath}/download.tiles?r=/&f=01 Software">软件</a></li>
  <li><a title="类库" href="${pageContext.request.contextPath}/download.tiles?r=/&f=02 Libarys">类库</a></li>
  <li><a title="资料" href="${pageContext.request.contextPath}/download.tiles?r=/&f=10 Reference">资料</a></li>
</menu>
<div class="menuheader">
  <a title="建设中" href="${pageContext.request.contextPath}/open.tiles">开源大全</a>
</div>
<menu compact>
</menu>
<div class="menuheader">
  <a title="建设中" href="${pageContext.request.contextPath}/building.tiles">Solutions</a>
</div>
<menu compact>
</menu>
<c:if test="${wr_fn:isUserInRole(pageContext.request, 'admin')}">
<div class="menuheader">
  <a title="管理" href="${pageContext.request.contextPath}/admin.tiles">Admin</a>
</div>
<menu compact>
</menu>
</c:if>
<c:if test="${wr_fn:isUserInRole(pageContext.request, 'admin,developer')}">
<div class="menuheader">
  <a title="开发工具" href="${pageContext.request.contextPath}/dts.tiles">开发工具</a>
</div>
<menu compact>
</menu>
</c:if>
<div class="menuheader">
  <a title="关于" href="${pageContext.request.contextPath}/about.tiles">About</a>
</div>
<menu compact>
</menu>